package com.santu.edu.supporter.biz.user.service;

import com.santu.edu.supporter.biz.user.pojo.dto.UserAddressDTO;
import com.santu.edu.supporter.biz.user.pojo.params.UserAddressAddParam;
import com.santu.edu.supporter.biz.user.pojo.params.UserAddressUpdateParam;

import java.util.List;

public interface UserAdressService {

    /**
     * 添加地址
     * @param addParam
     * @return
     */
    Boolean addUserAddress(UserAddressAddParam addParam);

    /**
     * 更新地址
     * @param updateParam
     * @return
     */
    Boolean updateUserAddress(UserAddressUpdateParam updateParam);

    /**
     * 删除地址
     * @param addressId
     * @return
     */
    Boolean removeUserAddress(String addressId);

    /**
     * 获取当前用户的全部地址
     * @return
     */
    List<UserAddressDTO> getUserAddressList();


    /**
     * 获取地址列表
     * @param addressIdList
     * @return
     */
    List<UserAddressDTO> getAddressByIdList(List<String> addressIdList);
}
